| add_command(name, help, function) | Add a command. |
| remove_command(string) → boolean | Removes a registered command |
| commands :: dictionary string → LocalisedString [R] | Commands registered by scripts through LuaCommandProcessor. |
| game_commands :: dictionary string → LocalisedString [R] | Builtin commands of the core game. |
Custom game console commands. These don't persist through save and load; instead, scripts are expected to re-register their commands in LuaBootstrap::on_load.
Add a command.
name is already registered or already exists as a game command.Removes a registered command
False if the command didn't exist. Commands registered by scripts through LuaCommandProcessor.
Builtin commands of the core game.